<div nz-row>
  <div *ngFor="let item of list;let i=index" [ngClass]="cardClass[i]" (click)="click(i)">

    <i nz-icon nzType="delete" *ngIf="showDelete" style="margin-left: 4px;" (click)="openConfirm($event,i)"></i>
    &nbsp;&nbsp;
    <i nz-icon nzType="edit" *ngIf="showEdit" (click)="editClickEvent($event,i)"></i>

    <div>
      <div class="card-title">{{item.title}}</div>
      <div class="card-content">{{item.content}}</div>
    </div>
  </div>
  <div class="card-plus-div" *ngIf="showAdd" (click)="addClickEvent()">
    <i nz-icon nzType="plus"></i>
  </div>
</div>



